package com.bigknow.appstore.web.base.controller;

import com.bigknow.appstore.web.framework.controller.AbstractRestController;
import com.bigknow.appstore.web.base.entity.Role;
import com.bigknow.appstore.web.base.service.IRoleService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by TwelveFoldEr on 2016/3/14.
 */
@RestController
@RequestMapping(value = "/base/role")
public class RoleController extends AbstractRestController<Role, IRoleService> {

    @Override
    protected String getBasePath() {
        return "/base";
    }

    @Override
    protected String getBaseName() {
        return "role";
    }
}
